package com.dmtt.config;

import com.dmtt.web.entity.CallPolice;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//@RabbitListener(queues = {"jingbao.direct.queue"})
@Component
@Service
public class FanoutNotifyConsumer {
//    @RabbitHandler(isDefault = true)
//    public void receiveMessage(CallPolice message){
//        System.out.println("jingbao fanout---接收到了信息是->"+message);
//    }
}
